package com.example.syd.toolbartest.adapter;

import android.app.Application;
import android.content.Context;

/**
 * 作者: created by syd on 2018/4/12 16:44
 * 邮箱: sunyuandong@mujinkeji.com
 */
public class SYDApplication extends Application {

    private static Context context;

    @Override
    /*重写父类方法*/
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
//        LitePalApplication.initialize(context);
    }
    /*静态方法*/
    public static Context getContext() {
        return context;
    }
}
